#!/usr/bin/env python
# -*- coding: utf-8 -*-
from google.appengine.ext import db
class IdCreate(db.Model):
    tbl_name=db.StringProperty(required=True)
    id = db.IntegerProperty(required=True)
 
#session table    
class isessions(db.Model):
    session_id = db.StringProperty(required=True, multiline=True)
    atime = db.DateTimeProperty(auto_now=True, auto_now_add=True)
    data = db.StringProperty(required=True, multiline=True, default='')
    
class Msg(db.Model):
    content = db.StringProperty(required=True)
    date = db.DateTimeProperty()
    title = db.StringProperty(required=True)
    fromUser=db.StringProperty(required=False)
    toUser=db.StringProperty(required=False)
    
class User:
    def show(self):
        pass    
    

    